package com.zy.db.dal.entity;

import lombok.Data;

import java.util.Date;

@Data
public class BaseEntity {

    private Long id;
    private Date createTime;
    private String createUserId;
    private String createUserName;
    private Date updateTime;
    private String updateUserId;
    private String updateUserName;
    private int isDel;

    public BaseEntity() {
        this.createTime = new Date();
        this.updateTime = new Date();
        this.isDel = 0;
    }


}
